import { defineStore } from "pinia";

export const usePageLoad = defineStore("pageLoad", {
    state() {
        return {
            show: false,
        };
    },
    actions: {
        setState({ show }: { show: boolean }): void {
            show !== void 0 && (this.show = show);
        },
    },
});
